package com.easy.project.domain.po.system;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.easy.project.base.domain.po.BasePO;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 系统角色表
 * </p>
 *
 * @author wxz
 * @since 2024-01-10
 */
@Getter
@Setter
@TableName("sys_role")
@ApiModel(value = "SysRolePO对象", description = "系统角色表")
public class SysRolePO extends BasePO {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private Long id;

    @ApiModelProperty("角色名")
    @TableField("role_name")
    private String roleName;

    @ApiModelProperty("角色编码")
    @TableField("role_code")
    private String roleCode;

    @ApiModelProperty("状态 0 可用 1 不可用")
    @TableField("status")
    private Integer status;
}
